package com.ruoyi.edge.gateway.service;

import com.ruoyi.common.core.domain.R;
import com.ruoyi.common.mybatis.core.page.PageQuery;
import com.ruoyi.common.mybatis.core.page.TableDataInfo;
import com.ruoyi.edge.gateway.domain.Equipment;

import java.util.List;

/**
 * 边缘计算设备管理
 */
public interface EquipmentService {

    TableDataInfo<Equipment> listPage(Equipment equipment, PageQuery pageQuery);

    R<List<Equipment>> list(Equipment equipment);

    R<Equipment> get(String id);

    R<String> add(Equipment equipment);

    R<String> edit(Equipment equipment);

    R<String> remove(String id);

    R<String> editStatus(String id, Integer status);

}
